<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>
<head>
	<title></title>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<link href="/study/Public/bootstrap/css/bootstrap.min.css" rel="stylesheet"> 
   	  <script src="/study/Public/bootstrap/js/jquery.min.js"></script>
      <script src="/study/Public/bootstrap/js/bootstrap.min.js"></script>
</head>
<body>

	<div style="margin-left: 500px"><h1>添加社团活动</h1></div>
				<form method="post"  action="<?php echo U('Admin/Index/newsAdd1');?>" enctype="multipart/form-data"  class="form-horizontal"> 
                      
                           

                            
                             <div class="form-group">
                            <label for="exampleInputEmail1" class="col-md-3 control-label">活动名称： </label>
                            <div class="col-md-2">
                            	<select class="form-control" name="activity_id">

                            		<?php if(is_array($findActivity)): $i = 0; $__LIST__ = $findActivity;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><option value="<?php echo ($vo["aid"]); ?>"><?php echo ($vo["name"]); ?></option><?php endforeach; endif; else: echo "" ;endif; ?>
                            	</select>
                            </div>
                            </div>

                           <div class="form-group">
                            <label for="exampleInputEmail1" class="col-sm-3 control-label">标题：</label>
                            <div class="col-md-5">
                            <input type="text" class="form-control" name="title" >
                            </div>
                            </div>

                             <div class="form-group">
                            <label for="exampleInputEmail1" class="col-sm-3 control-label">海报：</label>
                            <div class="col-md-5">
                            <input type="file" class="form-control" name="pic" >
                            </div>
                            </div>
                           
                         
                            <div class="form-group">
                           <label for="exampleInputEmail1" class="col-md-3 control-label"> </label>
                            <div class="col-md-2">
                             <button style="color: green;" type="submit" class="form-control">添加</button>
                            </div>
                            
                       
                           
                           
                        </div>
                    </form>
</body>
</html>